package icu.sehnen.fitness.mapper;

import icu.sehnen.fitness.entity.Permission;
import icu.sehnen.fitness.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 后台用户表 Mapper 接口
 * </p>
 *
 * @author sehnen
 * @since 2021-04-27
 */
public interface UserMapper extends BaseMapper<User> {

        List<Permission> getPermissionByUserId(Long id);

}
